package com.paw.portal.service;

import java.util.List;

import com.paw.common.domain.Result;
import com.paw.portal.request.dto.SysUserRequestDto;
import com.paw.portal.request.dto.UserSetRoleRequestDto;
import com.paw.portal.response.dto.MenuDataItem;
import com.paw.portal.response.dto.SysUserResponseDto;

/**
 * @author Rubble
 * @date 2021/8/23
 **/
public interface IAntdUserService {

  /**
   * 获取用户菜单项
   * @param userId
   * @return
   */
  List<MenuDataItem> getMenuData(Long userId);

  /**
   * 设置用户角色
   * @param requestDto
   * @return
   */
  Result<Boolean> setUserRole (UserSetRoleRequestDto requestDto);

  /**
   * 获取用户分页列表
   * @param requestDto
   * @return
   */
  Result<List<SysUserResponseDto>> getSysUserPageList (SysUserRequestDto requestDto);
}
